package refactor.service;

import refactor.entity.EventLog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 记录系统中设备设施发生的所有事件 服务类
 * </p>
 *
 * @author 杨健
 * @since 2019-08-19
 */
public interface IEventLogService extends IService<EventLog> {

    int countAllCasualApplicationByRegionId(Integer regionId);

    int countAllCasualApplicationByRegionIdNotHandle(Integer regionId);

    List<Map<String, Object>> getWarningMessage(int regionId);
}
